package com.saba.java.cdi.bean;

import java.io.Serializable;

import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

/**
 * @author saba
 */
@Named
@SessionScoped
public class HelloWorld implements Serializable {
   private static final long serialVersionUID = 1L;
   private final String txt = "Welcome to JSF";
   private String name;
   private String comment;

   /**
    * @return the txt
    */
   public String getTxt() {
      return txt;
   }

   /**
    * @return the name
    */
   public String getName() {
      return name;
   }

   /**
    * @param name the name to set
    */
   public void setName(String name) {
      this.name = name;
   }

   /**
    * @return the comment
    */
   public String getComment() {
      return comment;
   }

   /**
    * @param comment the comment to set
    */
   public void setComment(String comment) {
      this.comment = comment;
   }

}
